package com.zou.mall.auth.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "登录请求", description = "登录请求传入参数")
public class LoginVO {
    @NotBlank
    @ApiModelProperty(value = "username or phone", name = "username or phone", required = true, dataType = "String", example = "username or phone")
    private String loginAccount;
    @NotBlank
    @ApiModelProperty(value = "password", name = "password", required = true, dataType = "String", example = "password")
    private String password;
}
